package com.suge.user.dao;

import com.suge.user.dao.dataobject.UserDO;

/**
 * 
 * @author hengheng
 *
 */
public interface UserDAO {

	/**
	 * Get user info by UserID
	 * @param userId
	 * @return
	 */
	public UserDO getAppUserByUserId(long userId);
	
	public UserDO getAppUserByUserNick(String userNick);
	/**
	 * 
	 * @param appUserDO
	 * @return
	 */
	public boolean updateUserInfo(UserDO userDO);
	
	public boolean insertUser(UserDO userDO);
}
